package com.review.group.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.review.common.annotation.Excel;
import com.review.common.core.domain.BaseEntity;

import java.util.Arrays;

/**
 * 小组对象 review_group
 *
 * @author lls
 * @date 2022-03-16
 */
public class ReviewGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 小组名称
     */
    @Excel(name = "小组名称")
    private String groupName;

    /**
     * 小组类型
     */
    @Excel(name = "小组类型")
    private Long groupType;
    private Long[] userIds;
    private Long[] proIds;
    private String postName;

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Long[] getProIds() {
        return proIds;
    }

    public void setProIds(Long[] proIds) {
        this.proIds = proIds;
    }

    public Long[] getUserIds() {
        return userIds;
    }

    public void setUserIds(Long[] userIds) {
        this.userIds = userIds;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupType(Long groupType) {
        this.groupType = groupType;
    }

    public Long getGroupType() {
        return groupType;
    }

    @Override
    public String toString() {
        return "ReviewGroup{" +
                "id=" + id +
                ", groupName='" + groupName + '\'' +
                ", groupType=" + groupType +
                ", userIds=" + Arrays.toString(userIds) +
                ", proIds=" + Arrays.toString(proIds) +
                ", postName='" + postName + '\'' +
                '}';
    }
}
